<template>
  <div class="Zsjm">
    <h1><span> 招商加盟</span></h1>
    <p @click="gotoJmtj()"><span>加盟条件</span></p>
    <p @click="gotoJmzc()"><span>加盟支持</span></p>
    <p @click="gotoForm()"><span>在线提交申请表</span></p>
    <p class="last-line"><span>加盟热线</span></p>
    <div class="phone-box">
      <p class="phone">800-800-8888</p>
      <p class="phone">028-88888888</p>
    </div>
  </div>
</template>

<script>
export default {
  //import引入的组件
  components: {},
  data() {
    return {};
  },
  //方法集合
  methods: {
    gotoJmtj() {
      this.$router.push({ name: "Jmtj" });
    },
    gotoJmzc() {
      this.$router.push({ name: "Jmzc" });
    },
    gotoForm() {
      this.$router.push({ name: "Form" });
    },
  },
  //生命周期 - 挂载完成（可以访问DOM元素）
  mounted() {},
};
</script>
<style lang="less" scoped>
.Zsjm {
  height: 80vh;
  background-image: url("../assets/product-red/zsjm.jpg");
  box-sizing: border-box;
  padding-top: 100px;
  cursor: pointer;
  h1 {
    font-size: 36px;
    color: #a8845c;
    position: relative;
    margin-bottom: 30px;
    & > span {
      &:before {
        content: "";
        position: absolute;
        left: 44%;
        top: -10px;
        width: 32px;
        height: 32px;
        background: url("../assets/product-red/t1.png") no-repeat;
        background-size: cover;
      }
      &::after {
        content: "";
        position: absolute;
        left: 54%;
        bottom: -20px;
        width: 32px;
        height: 32px;
        background: url("../assets/product-red/t2.png") no-repeat;
        background-size: cover;
      }
    }
  }
  & > p {
    margin-top: 60px;
    font-size: 16px;
    color: #a8845c;
    & > span {
      padding-bottom: 10px;
      border-bottom: 1px solid #a8845c;
    }
  }
  .last-line {
    margin-bottom: 60px !important;
    & > span {
      border-bottom: none;
    }
  }
  .phone-box {
    margin-top: 26px;
    font-size: 16px;
    color: #a8845c;
  }
}
</style>
